package org.firefligher.xscript;

public class FunctionParameter {
	private final String type;
	private final String content;
	
	public FunctionParameter(String t, String c) {
		this.type = t;
		this.content = c;
	}
	
	public String getType() {
		return type;
	}
	
	public String getContent() {
		return content;
	}

	public static FunctionParameter createFrom(VariableContent vc) {
		return new FunctionParameter(vc.getType(), vc.getContent());
	}
}
